forum

home / developersection / forums / checking nsstring path is a directory or file in ios.

Checking NSString path is a Directory or File in iOS.

Anonymous User 1699 04-Jan-2016

In our iPhone application I have a nsstring which can be a path of any location or file.

Now, I want to check that string(path) is locating a file or folder/director.

Is this possible in Cocoa to check the string path for file or directory, then please provide me the code or tell me the method.
Thank you.


Updated on 04-Jan-2016

I am a content writter !

Can you answer this question?

Answer

1 Answers

Liked By